#!/bin/bash

sudo umount ${1}*

sudo fdisk -u=sectors $1 <<EOF
o
n
p
1


t
1
c
a
1
w
EOF

sudo mkfs.vfat -F 32 -n "DM3730" ${1}1
sudo fsck.vfat ${1}1
